package com.zcf.mapper;

import com.zcf.pojo.RidingOrder;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author zhouzhuang
 * @since 2018-11-28
 */
public interface RidingOrderMapper extends BaseMapper<RidingOrder> {
	/**
	 * 骑手当月完成订单数量
	 */
	int countFormat(@Param("userId")String userId);

	/**
	 * 骑手当天完成订单数量
	 */
	int countDay(@Param("userId")String userId);
}
